import java.io.BufferedReader;
import java.io.File;
import java.io.FileReader;
import java.io.IOException;
import java.net.URL;

public class mmm {
public static void main(String[] args) throws Exception {
	sss();
}
public static String sss() throws Exception {
	ClassLoader classLoader = mmm.class.getClassLoader();
    URL url = classLoader.getResource("rsa/rsa_public_key.pem");
    File f = new File(url.getFile());
	 	String strKeyPEM = "";
	    BufferedReader br = new BufferedReader(new FileReader(f));
	    String line;
	    while ((line = br.readLine()) != null) {
	        strKeyPEM += line;
	    }
	    String[] Stringss=strKeyPEM.split("-----");
	    br.close();
	    System.out.println(Stringss[2]);
		return line;
}
}
